<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" ><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" >
<head>
<?php
include ('PHP/database.php'); 
include ('PHP/cleanurl.php'); 

#get link, if no link then use home. Get content.
$page = $_GET["link"];
if($page == "") {
	$page = "home";
}
$db = new db();
$cont = $db->get_content($page);

#get the URL, convert it to a clean URL, output.
$clean = new clean();
$dirty = $HTTP_SERVER_VARS['PATH_INFO'];
?>
<title>ChelleWeb</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta content="" name="keywords" />
<meta content="" name="description" />


<link rel="stylesheet" href="css/screen.css	" type="text/css" />
</head>
<body>
<div id="main" >
<div id="banner" >
</div>
<div id="border">
<div id="left">
			<ul>
			<li><a href="index.php?link=home">Home</a></li> 
			<li><a href="index.php?link=tips">Tips</a></li>
			<li><a href="index.php?link=Vragen">Vragen</a></li>
			<li><a href="index.php?link=contact">Contact</a></li>
		</ul>
		<form method="POST" action="/PHP/login.php">
		Voornaam: <input type="text" name="voornaam" /><br />
		Achternaam: <input type="text" name="achternaam" /><br/>
		<input type="submit" value="Login" />
		</form>
	</div>
<div id="content" > 
	<div id="right">
	</div>
		<div id="text">
		<?php print $cont; ?>
		</div>
</div>
<div id="footer">
	<ul>
		<li><a href="admin.php">admin</a> &#149 </li> 
		<li><a href="index.php?link=pr">pr</a> &#149 </li>
		<li><a href="index.php?link=marketing">marketing</a> &#149</li>
		<li><a href="index.php?link=eventman">event management</a></li>
	</ul>
</div>
</div>
</div>
</body>
</html>